package com.service;

import com.model.AppVersionUpgrade;
import com.page.GenericPage;
import com.po.AdvertisementPO;
import com.po.AppVersionUpgradeModifyPO;
import com.po.AppVersionUpgradePO;
import com.result.Result;
import com.vo.AdvertisementVO;

import java.util.List;

public interface AppVersionUpgradeService {

    Result<AppVersionUpgrade> save(AppVersionUpgradePO appVersionUpgradePO);

    Result<AppVersionUpgrade> modifyById (AppVersionUpgradeModifyPO appVersionUpgradeModifyPO);

    Result<AppVersionUpgrade> queryById(Long id);

    Result<GenericPage<AppVersionUpgrade>> queryAll(int pageNo, int pageSize);

    Result<AppVersionUpgrade> queryLast(Long deviceId);

}
